package ai.people.netmon.youtube.view.service;

import ai.people.netmon.framework.domain.twitter.probe.request.UserWebRequest;
import ai.people.netmon.framework.domain.youtube.view.YoutubeAccountView;
import ai.people.netmon.framework.model.response.PageResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 说明
 *
 * @author zhenglin
 * @since 2022/3/17
 */
public interface YoutubeAccountViewService extends IService<YoutubeAccountView> {
    /**
     * 分页查询
     *
     * @param request 请求
     * @return {@link PageResponse}<{@link YoutubeAccountView}>
     */
    PageResponse<YoutubeAccountView> listViews(UserWebRequest request);

    /**
     * 获取用户信息
     *
     * @param accountName 帐户名称
     * @return {@link YoutubeAccountView}
     */
    YoutubeAccountView getView(String accountName);
}
